
package com.ruoyi.project.system.tongji.domain;

        import java.util.Date;
        import com.fasterxml.jackson.annotation.JsonFormat;
        import com.ruoyi.framework.aspectj.lang.annotation.Excel;
        import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 统计列表对象 sys_user_tongji
 *
 * @author ruoyi
 * @date 2023-03-01
 */
public class Userexpert extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户账号 */
    @Excel(name = "用户名称")
    private String name;

    /** 数量 */
    @Excel(name = "ip")
    private String lastLoginIp;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createTime;

    /** 有效访问 */
    @Excel(name = "地区")
    private String lastLoginCity;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLastLoginIp() {
        return lastLoginIp;
    }

    public void setLastLoginIp(String lastLoginIp) {
        this.lastLoginIp = lastLoginIp;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getLastLoginCity() {
        return lastLoginCity;
    }

    public void setLastLoginCity(String lastLoginCity) {
        this.lastLoginCity = lastLoginCity;
    }

    @Override
    public String toString() {
        return "Userexpert{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", lastLoginIp='" + lastLoginIp + '\'' +
                ", createTime=" + createTime +
                ", lastLoginCity='" + lastLoginCity + '\'' +
                '}';
    }
}
